package com.niuwa.p2p.dao.channel;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.channel.CorpLogin;

@MyBatisDao
public interface CorpLoginDao {
    int deleteByPrimaryKey(String corpCode);

    int insert(CorpLogin record);

    int insertSelective(CorpLogin record);

    CorpLogin selectByPrimaryKey(String corpCode);

    CorpLogin selectByLoginName(String loginName);

    int updateByPrimaryKeySelective(CorpLogin record);

    int updateByPrimaryKey(CorpLogin record);
}